package com.example.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.education.Bean.CollegeSubjects;
import com.example.education.Bean.StudentInfo;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 姚
 * @since 2023-03-27
 */
public interface CollegeSubjectsService extends IService<CollegeSubjects> {

    //增

    int insert(CollegeSubjects collegeSubjects);

    //删
    int delete(Integer uid);

    //改
    int update(CollegeSubjects collegeSubjects);

    //查
    ArrayList<CollegeSubjects> select(String username);

    //根据传来的学生分数查找匹配的学校
    CollegeSubjects selectByScore(Integer score);

    ArrayList find(StudentInfo studentInfo);
}
